home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / tee9201.zip / TEE.MSG < prev    next >
Text File  |  1992-01-11  |  838b  |  46 lines

  1. [From the FIDO Dr. Debug Echo]
  2.   From: Tom  Barrett
  3.     To: Jim Hill                Date: 08 Jan 92  20:15:00
  4.   Subj: redirecting output
  5.   Conf: `Dr. Debug Conference'
  6. *******************************************************************************
  7.  > I'm wondering if there's any way I can have both "writes"
  8.  > occur.
  9.  
  10. Yessir... just try and locate a tiny little program probably called "tee.com"
  11. and insert it within a piped output like "DIR | tee >save.txt" ... our you can
  12. write a quick one using DEBUG:
  13.  
  14. a
  15. MOV AH,3F
  16. MOV BX,0000
  17. MOV CX,F000
  18. MOV DX,0200
  19. INT 21
  20. jc  113
  21. AND AX,AX
  22. JNZ 0114
  23. RET
  24. PUSH AX
  25. PUSH AX
  26. MOV AH,40
  27. MOV BX,0001
  28. POP CX
  29. MOV DX,0200
  30. INT 21
  31. MOV AH,40
  32. MOV BX,0002
  33. POP CX
  34. MOV DX,0200
  35. INT 21
  36. JMP 0100
  37.  
  38. ntee.com
  39. rcx
  40. 30
  41. w
  42. q
  43.  
  44. ---
  45.  * Origin: TDBear's Den | Jeez! What a mess! | (1:102/1006.6)
  46.